//
//  OptionView.h
//  eye_hunter
//
//  Created by cherry on 10-10-10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "StateButtonView.h"
#import "PicTarget.h"

@interface ScrollView : UIImageView {
    NSMutableArray *stateButtons;
    NSMutableArray *targets;
    CGPoint oldPosision;
    int centerIndex;//中间一个图标在图标数组中的下标
}

@property (retain,nonatomic) NSMutableArray *stateButtons;
@property (retain,nonatomic) NSMutableArray *targets;
@property (nonatomic) int centerIndex;

-(void) initButtons;
-(void) scrollLeft;
-(void) scrollRight;
-(Boolean) foundTarget: (int) targetId;
@end
